﻿using BCCommon.OAEnums;
using BCCommon.OAEnums.WorkflowActive;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.OA.WorkflowActive.WorkflowActivityOperation
{
    /// <summary>
    /// 工作流活动处理请求
    /// </summary>
    public class WorkflowActivityOperationRequestDto
    {
        /// <summary>
        /// 工作流活动Id
        /// </summary>
        [Display(Name = "工作流活动Id")]
        [Required(ErrorMessage = "{0} 不允许为空")]
        public long WorkflowActivityId { get; set; }
        /// <summary>
        /// 工作流活动步骤Id
        /// </summary>
        [Display(Name = "工作流活动步骤Id")]
        public long? WorkflowActivityStepId { get; set; }
        /// <summary>
        /// 步骤完成状态
        /// </summary>
        [Display(Name = "步骤完成状态")]
        [Required(ErrorMessage = "{0} 不允许为空")]
        public OAActivityStepCompleteType StepCompleteType { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 下一节点执行人Id
        /// </summary>
        public long? NextAuditorId { get; set; }
    }
}
